package com.qinge.blog.service;

import com.github.pagehelper.PageInfo;
import com.qinge.blog.entity.BlogCategory;
import com.qinge.blog.vo.paging.PagingReqVO;

import java.util.List;

/**
 * @author QDW
 * @date 2022/05/15 22:48
 * @description BlogCategoryService service层类
 */
public interface BlogCategoryService {
    void add(BlogCategory... blogCategorys);

    void addByList(List<BlogCategory> blogCategorys);

    void removeById(String id);

    void removeBatchByIds(List<String> ids);

    void update(BlogCategory blogCategory);

    void upsert(BlogCategory blogCategory);

    BlogCategory findById(String id);

    List<BlogCategory> findByIds(List<String> ids);

    PageInfo<BlogCategory> findAll();

    PageInfo<BlogCategory> findAll(PagingReqVO<BlogCategory> pagingReqVO);

    PageInfo<BlogCategory> paging(PagingReqVO<BlogCategory> pagingReqVO);
}


